/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.diplomka.datalayer.entity;

import cz.fi.muni.diplomka.common.enumeration.MovementType;
import cz.fi.muni.diplomka.common.enumeration.ResourceType;
import java.sql.Timestamp;

/**
 * Class representing Incoming Resources Entity
 *
 * @author Jakub Kutil
 */
public class IncomingResourcesEntity {

    private Long id;
    private Long cityFrom;
    private Long cityTo;
    private ResourceType resource;
    private int resourceCount;
    private Timestamp timeOfArrival;
    private MovementType movementType;

    public IncomingResourcesEntity() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCityFrom() {
        return cityFrom;
    }

    public void setCityFrom(Long cityFrom) {
        this.cityFrom = cityFrom;
    }

    public Long getCityTo() {
        return cityTo;
    }

    public void setCityTo(Long cityTo) {
        this.cityTo = cityTo;
    }

    public ResourceType getResource() {
        return resource;
    }

    public void setResource(ResourceType resource) {
        this.resource = resource;
    }

    public int getResourceCount() {
        return resourceCount;
    }

    public void setResourceCount(int resourceCount) {
        this.resourceCount = resourceCount;
    }

    public Timestamp getTimeOfArrival() {
        return timeOfArrival;
    }

    public void setTimeOfArrival(Timestamp timeOfArrival) {
        this.timeOfArrival = timeOfArrival;
    }

    public MovementType getMovementType() {
        return movementType;
    }

    public void setMovementType(MovementType movementType) {
        this.movementType = movementType;
    }
}
